package neuralmusic.brain.module;

import java.util.List;


/**
 * Interface for a collection of neurons that can be connected to other modules.
 * 
 * @author pjl
 *
 */

public interface Module {

	List<Connection> getInputs();

	List<Neuron> getNeurons();

	List<Connection> getOutputs();

	String getName();
	
	/**
	 * If a module is constructed using serial IO we need to assign the scheduler
	 * after construction
	 * 
	 * @param sced   the sceduler for this module
	 */
	void setScheduler(Scheduler sced);


}
